package com.hksj.Intelligentmanagement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hksj.Intelligentmanagement.dto.GasMonitoringDTO;
import com.hksj.Intelligentmanagement.entity.GasInfoEntity;
import com.hksj.Intelligentmanagement.vo.GasMonitoringInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName GasInfoMapper
 * @Author zengke
 * @Date 2023/7/18 9:59
 */

@Mapper
public interface GasInfoMapper extends BaseMapper<GasInfoEntity> {
    //查询气体压力的实时记录
    List<GasMonitoringInfoVo> queryGasPressureInfo(@Param("gasMonitoringDTO")GasMonitoringDTO gasMonitoringDTO);

    //查询气体压力的历史记录
    List<GasMonitoringInfoVo> queryGasPressureHistory(@Param("gasMonitoringDTO")GasMonitoringDTO gasMonitoringDTO);
}
